<?php
namespace libs\qoy;
use libs\Wechat\WechatLibs;
use libs\qoy\DI;

/**
 * Wechat
 */
class Wechat extends WechatLibs{
    
    /**
     * 
     * @see Wechat::setCache
     */
    protected function setCache($cachename, $value, $expired) {
        DI::instance()->cache->set($cachename, $value,$expired);
    }
    /**
     * 
     * @see Wechat::getCache
     */
    protected function getCache($cachename) {
        return DI::instance()->cache->get($cachename);
    }
    /**
     * 
     * @see Wechat::removeCache
     */
    protected function removeCache($cachename){
            return S($cachename,null);
    }
    
}
